<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Main</title>
	<link href="../Public/style/skin.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="../Public/js/calendar.js"></script>
</head>
<body>
  <div class="location">用户管理</div>
  <font color='green'>(*系统默认当天)</font>
  <div class="massaction">
   <form action="__URL__/index" method="get">
	从：<input name="sdate" type="text" id="sdate" class="ipt_m" onclick="new Calendar().show(this);" size="10" maxlength="10" readonly="readonly"/>&nbsp;&nbsp;&nbsp;&nbsp;
  	到：<input name="edate" type="text" id="edate" class="ipt_m" onclick="new Calendar().show(this);" size="10" maxlength="10" readonly="readonly"/>
  		<input type="submit" value="查询" class="buttons_a"/>
			<script>
		     		function del(){
		          		if(window.confirm('请确认是否删除？')){
		          			document.adminForm.submit();
		          		}
		      		}
		     </script>
	 <eq name='coption.d' value='1'><span class="buttons_a"><a href="#" onclick="del();">删除</a></span></eq>
  </form>
 </div>

 <form name="adminForm" action="__URL__/delete" method="post">
 <table class="bd_c_1" cellpadding="0" cellspacing="0">
	<tr class="headings">
		<td style='width:2%'>#</td>
		<td>序号</td>
		<td>执行者</td>
		<td>操作</td>
		<td>操作IP</td>
		<td>操作时间</td>
	</tr>
	<volist name="list" id="vo" key="k">
		<if condition="$key%2 eq 0">
			<tr>
		<else/>
			<tr bgcolor="#F6F6F6">
		</if>
				<td><input type="checkbox" name="did[{$k}]" value="{$vo.id}" /></td>
				<td><a href='__URL__/show?id={$vo.id}'>{$vo.id}</a></td>
				<td>{$vo.user}</td>
				<td>
				<if condition="$vo.code == 1">
					增加
				<elseif condition="$vo.code == 2"/>
					修改
				<else/>
					删除
				</if>
				</td>
				<td>{$vo.ip}</td>
				<td>{$vo.row_date|date="y-m-d",###}</td>
			</tr>
	</volist>
	<tr bgcolor="#F6F6F6">
		<td colspan="8" align="right"><div class="vpager">{$page}</div>
  	</td>
	</tr>
 </table>
 </form>
</body>
</html>

